﻿<?xml version="1.0" encoding="utf-8" ?> 
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="EnetaMvc.Core.Domain.Content.HtmlControl, EnetaMvc.Core" table="html_control">
    
    <id name="Id" column="html_control_id" type="long">
        <generator class="identity"/>
      </id>

    <property name="Title" column="title" type="string" />
    <property name="Token" column="token" type="string" />
    <property name="Body" column="body" type="string" />
    <property name="Visible" column="visible" type="bool" />
    <property name="OrderPosition" column="order_position" type="int" />

  </class>
</hibernate-mapping>    